package cn.wolfcode.p2p.business.mapper;

import java.util.Date;

import org.apache.ibatis.annotations.Param;

import cn.wolfcode.p2p.business.domain.PaymentScheduleDetail;

public interface PaymentScheduleDetailMapper {

	int insert(PaymentScheduleDetail record);

	PaymentScheduleDetail selectByPrimaryKey(Long id);

	int updateByPrimaryKey(PaymentScheduleDetail record);

	/**
	 * 批量修改还款时间
	 * 
	 * @param id
	 * @param date
	 */
	void batchUpdatePayDate(@Param("psId")Long id, @Param("payDate")Date date);
}